#!/usr/bin/env bash

I=0;
while true; do I=`expr $I + 1`; echo "Test Count:"$I; adb shell am start com.example.ole.test/.MainActivity ; sleep 2; adb shell input keyevent 4; sleep 10; done